<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
{#    三种导入静态文件的方式 #}
{#    <link rel="stylesheet" href="../static/index.css">#}
{#    <link rel="stylesheet" href="/static/index.css">#}
    <link rel="stylesheet" href="{{ url_for('static',filename = 'index.css') }}">
</head>
<body>
<h2>index 首页</h2>
<hr>
<h4>name:{{ name }}</h4>
</body>

</html>